package com.xiaoyang.forum.service;

import com.xiaoyang.forum.domain.pojo.ArticleReply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoyang.forum.domain.vo.ArticleReplyUserVO;

import java.util.List;

/**
 * @author XiaoYang
 * @since 2025-08-19
 */
public interface IArticleReplyService extends IService<ArticleReply> {

    void create(long userId, Long articleId, String content);

    void reply(long userId, Long articleId, Long replyId, Long replyUserId, String content);

    List<ArticleReplyUserVO> toList(Long articleId);
}
